package niso;

public class Product {

	private String productCode,productName,unit;
	private double unitPrice;
	
	
	public Product(String pCode,String Pname,String Uname,double price){
		productCode=pCode;
		productName=Pname;
		unit=Uname;
		unitPrice=price;
	}
	
	public String getpCode(){return productCode;}
	public String getUnitName(){return unit;}
	public String PName(){return productName;}
	public double getPrice(){return  unitPrice;}
	
	public void setPrice(double price){unitPrice=price;}
	public void setUnitName(String Uname){unit=Uname;}
	public void setProductName(String Pname){productName=Pname;}
	
}
/*
-productCode:String
-unitPrice:double
-unit:String
-productName:String

+getPCode():String
+getPrice():Double
+getUnitname():String
+getPName():String
+setPrice(Double):void
+setUnitname(String):void
+setPName(String):void
+UpdateDB(String):void
*/